//
//  WebServicePlatformRequest.m
//  ERP
//
//  Created by QA on 15/8/24.
//  Copyright (c) 2015年 ShangHai HaoLei Software Technology Co., Ltd. All rights reserved.
//

#import "WebServicePlatformRequest.h"
#import "AESCrypt.h"

@implementation WebServicePlatformRequest

#pragma mark 创建连接

- (id)initWithMethodName:(NSString*)methodName dataArray:(ServiceParametModel*)para
{
    self = [super init];
    if (self) {
        ServiceArgs *serviceArgs = [[ServiceArgs alloc] init];
        
        [serviceArgs setWebURL:[NSURL URLWithString:PlatformWebServiceUrl]];
        [serviceArgs setServiceNameSpace:PlatformWebServiceNameSpace];
        [serviceArgs setServiceGUID:PlatformWebServiceGUID];
        [serviceArgs serviceMethodName:methodName soapParametModel:para];
        [self setServiceArgs:serviceArgs];
    }
    
    return self;
}

@end
